import App from './App'
import Vue from 'vue'
import './uni.promisify.adaptor'
import uView from '@/uni_modules/uview-ui'
import api from 'utils/api.js'
import LoginModal from './components/LoginModal.vue'

// 全局注册组件
Vue.component('LoginModal', LoginModal)
Vue.use(uView)
Vue.config.productionTip = false
Vue.prototype.$api = api;
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()